import request from '@/utils/request'

// 删除图片
export function deleteImage(imageName) {
  return request({
    url: '/common/deleteImage',
    method: 'post',
    params: imageName
  })
}

//获取视频
export function getVideo() {
  return request({
    url: '/magic/api/home/getHome',
    method: 'get',
  })
}


export function getImage() {
  return request({
    url: '/magic/api/home/getHomeImage',
    method: 'get',
  })
}
